<?php

use App\Models\Photo;
use Illuminate\Database\Seeder;

class PhotosTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $photo = factory(App\Models\Photo::class)->times(1000)->make();

        App\Models\Photo::insert($photo->toArray());
    }
}
